package com.jkl.databaseserver.Web.DAO.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jkl.databaseserver.Web.DAO.pojo.Relationship;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface RelationshipMapper extends BaseMapper<Relationship> {
    public void buildRelationship(Relationship relationship);//发出好友申请

    public void confirmRelationship(Relationship relationship);//确认好友申请

    public void deleteRelationship(@Param("userId")String userId,@Param("friendId")String friendId);
}
